@import "reset.scss";

.user-tit{
    width: 100%;
    background-color: #f7f7f7;
    height: 48px;
    text-align: center;
    color: #333;

    p{
        line-height: 48px;

        span{
            margin-left: 25px;
            color: #ff6700;
        }
        a{
            color: #b5b5b5;
            font-size: 10px;
            margin-left: 10px;
        }
    }
}
.mi-detail{
    min-height: 600px;
    .container{
        @include container();

        .page-info{
            display: flex;
            justify-content: center;
            padding-top: 32px;
            padding-bottom: 12px;

            .left{
                width: 606px;
                position: relative;

                .wrapInner {
                    width: 450px;
                    height: 450px;
                    border: 1px solid #333;
                    position: relative;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                    .shadow {
                        width: 300px;
                        height: 300px;
                        border: 1px solid #aaa;
                        background: 50% top no-repeat #fede4f;
                        opacity: .5;
                        position: absolute;
                        display: none;
                    }
                }
                .switchList {
                    display: flex;
                    margin-top: 10px;
                    padding: 5px auto;
                    width: 450px;
                    justify-content: space-around;

                    li {
                        // flex: 1;
                        width: 58px;
                        height: 58px;
                        box-sizing: border-box;
                        &:hover{
                            border: 2px solid red;
                        }
                        

                        img {
                            width: 100%;
                        }
                    }
                    .active{
                        border: 2px solid red;
                    }
                }
            }
            .right{
                flex: 1;
                margin-left: 20px;

                .scaleBar{
                    display: none;
                    width: 540px;
                    height: 540px;
                    position: absolute;
                    overflow: hidden;
                    z-index: 10;

                    img{
                        width: 800px;
                        height: 800px;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                }
                .goodsInfo{

                    h2{
                        font-size: 24px;
                        font-weight: 400;
                        color: #212121;
                    }
                    .xmzy{
                        margin-top: 14px;
                        color: #ff6700;
                    }
                    .jg{
                        font-size: 18px;
                        color: #ff6700;
                        padding: 12px 0 10px;
                    }
                    .buy-box-child{
                        margin-bottom: 30px;
                        position: relative;

                        p{
                            font-size: 18px;
                        }
                        ul{
                            width: 100%;

                            li{
                                margin-right: 12px;
                                margin-top: 10px;
                                height: 42px;
                                border: 1px solid #e0e0e0;
                                float: left;
                                width: 258px;
                                font-size: 16px;
                                text-align: center;
                                line-height: 42px;
                            }
                            .active{
                                border-color: #ff6700;
                                color: #ff6700;
                            }
                        }
                    }
                    .info{
                        padding: 30px;
                        margin-bottom: 30px;

                        .infotit{
                            line-height: 30px;
                            color: #616161;

                            span{
                                float: right;
                            }
                        }
                        .total-price{
                            padding-top: 20px;
                            font-size: 24px;
                            color: #ff6700;
                        }
                    }
                    .infoBtn{
                        margin: 10px 0 20px 0;

                        button{
                            width: 298px;
                            height: 52px;
                            line-height: 52px;
                            font-size: 16px;
                            background-color: #ff6700;
                            border: 1px solid #ff6700;
                            color: #fff;
                            text-align: center;
                        }
                    }
                    .after-sale-info{

                        li{
                            display: inline-block;
                            margin-right: 15px;
                            line-height: 30px;
                            margin-bottom: 10px;
                            color: #b0b0b0;

                            i{
                                font-size: 20px;
                                display: inline-block;
                                color: #b0b0b0;
                            }
                            em{
                                display: inline-block;
                                margin-left: 2px;
                                color: #b0b0b0;
                            }
                        }
                    }
                }
            }
        }
    }
    .page-main{
        width: 100%;
        padding-bottom: 50px;
        background-color: #f5f5f5;

        .container{
            @include container();

            h3{
                font-size: 22px;
                font-weight: 400;
                padding: 1em 0;
            }
            img{
                width: 100%;
                position: relative;
                margin: 0 auto;
            }
        }
    }
}